{extend name="main/index" /}
{block name="main"}

<div class="content-page">
    <div class="content">
        <h2>添加角色</h2>
        <form action="{:url('admin/Con1/doaddrole')}" method="post">
            {volist name="uid" id="v" key="k"}
            <input type="hidden" name="uid" value="{$v['uid']}">
            {/volist}

            {volist name="role" id="v" key="k"}

            <input type="checkbox" name="rid[]" value="{$v['id']}" class="rows-check" {$v['check']}>{$v['name']} :: ------- {$v['remark']}<br/><br/>
            {/volist}
            <button btn btn-primary btn-sm>提交</button>
        </form>
    </div>
</div>

{/block}